package com.kgc.cgprovider.dao;

import com.kgc.cgapi.pojo.CGDDInfo;
import com.kgc.cgapi.pojo.CGDDPojo;

import java.util.List;
import java.util.Map;

public interface CGDDDao {
    List<CGDDPojo> getCGDDPage(Map<String,Object> map );

    int addCGDD(Map<String,Object>map);
    int addCGDDInfo(Map<String,Object> map);

    CGDDPojo getCGDD(String code);

    List<CGDDInfo> getCGDDInfo(String code);

    int modiCGDD(Map<String,Object> map);

    int delCGDDInfo(String code);

    int updateCGDDStatus(Map<String,Object> map);

    List<CGDDPojo> getCGDDByProId(Map<String,Object> map);

    int updateCGDDData(Map<String,Object> map);
}
